package cn.wolfcode.crm.serivce;

import cn.wolfcode.crm.domain.Dictionary;
import cn.wolfcode.crm.domain.DictionaryDetail;

import java.util.List;

public interface IDictionaryService {
    void deleteByPrimaryKey(Long id);
    void saveOrUpdate(Dictionary record);
    Dictionary selectByPrimaryKey(Long id);
    List<Dictionary> selectAll();

    List<DictionaryDetail> selectAllDetail(Long dictionaryId);

}
